package com.riko.comic.module.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.riko.comic.module.comic.bean.vo.ComicVo;
import com.riko.comic.module.sys.bean.po.ComicRank;

import java.util.HashMap;
import java.util.List;

public interface ComicRankMapper extends BaseMapper<ComicRank> {
    Double queryAvgScore(Integer comicId);

    ComicRank queryRank1(ComicRank comicRank);

    Double queryRank2(HashMap<String, Object> map);

    List<ComicVo> ranking();

    List<ComicVo> dayRanking(HashMap<String, String> map);

    List<ComicVo> monRanking(HashMap<String, String> map);
}
